home *** CD-ROM | disk | FTP | other *** search
- gLeftTextWidth = max(
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/Name'),
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/Org'),
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/OrgUnit'),
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/Country'),
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/UserPassword'),
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/ConfirmPassword') );
- gEditTextWidth = max_char_width() * 15;
- gRightTextWidth = max(
- zstring_width(zstring: '$$$/Dialogs/NewUser/ProfileFile/MinPassword'),
- zstring_width(zstring: '$$$/Dialogs/NewUser/UserAttributes/Optional') );
-
- dialog(name: '$$$/Dialogs/NewUser', target_id: 'name' )
- {
- view(alignment: align_fill, align_children: align_left)
- {
- static_text(item_id: 'note', name: '$$$/Dialogs/KeyUsageNotice', height: gStaticTextHeight * 3, alignment: align_fill);
-
- cluster(name: '$$$/Dialogs/NewUser/UserAttributes/ClusterName',
- align_children: align_left, alignment: align_fill)
- {
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/Name', width: gLeftTextWidth, alignment: align_right);
- edit_text(item_id: 'Name', width: gEditTextWidth );
- gap( width: gRightTextWidth );
- }
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/Org', width: gLeftTextWidth, alignment: align_right);
- edit_text(item_id: 'Org ', width: gEditTextWidth);
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/Optional', width: gRightTextWidth);
- }
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/OrgUnit', width: gLeftTextWidth, alignment: align_right);
- edit_text(item_id: 'OrgU', width: gEditTextWidth);
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/Optional', width: gRightTextWidth);
- }
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/Country', width: gLeftTextWidth, alignment: align_right);
- popup(item_id: 'Ctry', alignment: align_fill);
- static_text(name: '$$$/Dialogs/NewUser/UserAttributes/Optional', width: gRightTextWidth);
- }
- }
- cluster(name: '$$$/Dialogs/NewUser/ProfileFile/ClusterName',
- align_children: align_left, alignment: align_fill)
- {
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(name: '$$$/Dialogs/NewUser/ProfileFile/UserPassword', width: gLeftTextWidth, alignment: align_right);
- edit_text(item_id: 'UPwd', width: gEditTextWidth, password: true );
- static_text(name: '$$$/Dialogs/NewUser/ProfileFile/MinPassword', width: gRightTextWidth);
- }
- view(align_children: align_row, alignment: align_fill)
- {
- static_text(name: '$$$/Dialogs/NewUser/ProfileFile/ConfirmPassword', width: gLeftTextWidth, alignment: align_right);
- edit_text(item_id: 'CPwd', width: gEditTextWidth, password: true );
- gap(width: gRightTextWidth);
- }
- }
- ok_cancel();
- }
- }
-